#coding:UTF-8
import requests
import re
import sys
reload(sys)
sys.setdefaultencoding('UTF-8')

des_url = r'https://accounts.douban.com/login'
#source=index_nav&redir=https%3A%2F%2Fwww.douban.com%2F&form_email=whu_ysw%40163.com&form_password=qwe123QWE%21%40%23&login=%E7%99%BB%E5%BD%95

Data = {'source':"index_nav",'redir':'https://www.douban.com/',
'form_email':'whu_ysw@163.com','form_password':'qwe123QWE!@#'}

ret = requests.post(des_url,data=Data)
print ret.text
